import axios from "../axios";

export function login(params) {
  return axios.post('/user/login', params)
}
export function register(params) {
  return axios.post('/user/register', params)
}